From e464b04cad8e4f1fd671e46bc47b72be37b9bc69 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 8 Sep 2007 21:00:14 +0000 Subject: [PATCH] dg-100: Replace type ssize_t with int. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2998 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/dg-100.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsbabel/dg-100.c b/gpsbabel/dg-100.c index f5ff78635..187cbbf98 100644 --- a/gpsbabel/dg-100.c +++ b/gpsbabel/dg-100.c @@ -339,7 +339,7 @@ dg100_recv_byte() /* payload returns a pointer into a static buffer (which also contains the * framing around the data), so the caller must copy the data before calling * this function again */ -static ssize_t +static int dg100_recv_frame(struct dg100_command **cmdinfo_result, gbuint8 **payload) { static gbuint8 buf[FRAME_MAXLEN]; @@ -464,7 +464,7 @@ dg100_recv_frame(struct dg100_command **cmdinfo_result, gbuint8 **payload) } /* return value: number of bytes copied into buf, -1 on error */ -static ssize_t +static int dg100_recv(gbuint8 expected_id, void *buf, unsigned len) { int n; @@ -495,7 +495,7 @@ dg100_recv(gbuint8 expected_id, void *buf, unsigned len) /* the number of bytes to be sent is determined by cmd, * count is the size of recvbuf */ -static ssize_t +static int dg100_request(gbuint8 cmd, const void *sendbuf, void *recvbuf, size_t count) { struct dg100_command *cmdinfo; -- 2.30.2